import React, { memo } from 'react';

import Left from './cpns/left';
import Center from './cpns/center';
import Right from './cpns/right';
const Index = memo((props: { isTop: boolean }) => {
  let { isTop } = props;
  return (
    <>
      <div
        className={` ${
          isTop ? 'rounded-t-lg' : ''
        } bg-p sticky top-0 w-[100%] px-common_Padding  ccomm header flex border-b-2  py-4  bg-white z-[999]`}
      >
        <Left></Left>
        <Center></Center>
        <Right></Right>
      </div>
    </>
  );
});

export default Index;
